package pojo;

import java.util.Date;

/**
 * 出库记录表实体类
 */
public class OutStorage {
    private Long outStorageId;          //出库记录主键Id
    private String outStorageNum;       //出库记录编号:QT/XS/TH+CK+时间戳+序号
    private Long outStorageTypeId;      //出库类型:1_采购退货,2_销售,3_盘亏,4_其他
    private Long relevanceId;           //关联出库单Id
    private Long outStorageOperator;    //关联制单人
    private Date createDate;            //创建时间
    private Long removeStateId;         //删除状态:1_已删除,2_未删除
    private String remark;              //备注

    public OutStorage(Long outStorageId, String outStorageNum, Long outStorageTypeId, Long relevanceId, Long outStorageOperator, Date createDate, Long removeStateId, String remark) {
        this.outStorageId = outStorageId;
        this.outStorageNum = outStorageNum;
        this.outStorageTypeId = outStorageTypeId;
        this.relevanceId = relevanceId;
        this.outStorageOperator = outStorageOperator;
        this.createDate = createDate;
        this.removeStateId = removeStateId;
        this.remark = remark;
    }

    public OutStorage() {
    }

    @Override
    public String toString() {
        return "OutStorage{" +
                "outStorageId=" + outStorageId +
                ", outStorageNum='" + outStorageNum + '\'' +
                ", outStorageTypeId=" + outStorageTypeId +
                ", relevanceId=" + relevanceId +
                ", outStorageOperator=" + outStorageOperator +
                ", createDate=" + createDate +
                ", removeStateId=" + removeStateId +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Long getOutStorageId() {
        return outStorageId;
    }

    public void setOutStorageId(Long outStorageId) {
        this.outStorageId = outStorageId;
    }

    public String getOutStorageNum() {
        return outStorageNum;
    }

    public void setOutStorageNum(String outStorageNum) {
        this.outStorageNum = outStorageNum;
    }

    public Long getOutStorageTypeId() {
        return outStorageTypeId;
    }

    public void setOutStorageTypeId(Long outStorageTypeId) {
        this.outStorageTypeId = outStorageTypeId;
    }

    public Long getRelevanceId() {
        return relevanceId;
    }

    public void setRelevanceId(Long relevanceId) {
        this.relevanceId = relevanceId;
    }

    public Long getOutStorageOperator() {
        return outStorageOperator;
    }

    public void setOutStorageOperator(Long outStorageOperator) {
        this.outStorageOperator = outStorageOperator;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getRemoveStateId() {
        return removeStateId;
    }

    public void setRemoveStateId(Long removeStateId) {
        this.removeStateId = removeStateId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
